/**
 * 
 */
package com.java.service.impl;

import java.util.List;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.java.entity.Function;
import com.java.mapper.FunctionMapper;

import com.java.service.FunctionService;

/**
* @author Kidney
* 创建时间：2019年4月28日 上午1:11:57
* Description:
*/
/**
 * @author KIDNEY
 *
 */
@Service("FunctionServiceImpl")
public class FunctionServiceImpl implements FunctionService{

	@Autowired
	private FunctionMapper fm;
	
	/* (non-Javadoc)
	 * @see com.java.service.FunctionService#findByUserId(int)
	 */
	@Override
	public List<Function> findByUserId(int userId) {
		// TODO Auto-generated method stub
		return fm.findFunctionByUserId(userId);
	}


}
